Optimal. Leaf size=145 \[ -\frac{2 e \csc ^2(c+d x) \sqrt{e \csc (c+d x)}}{5 a d}-\frac{4 e \cos (c+d x) \sqrt{e \csc (c+d x)}}{5 a d}+\frac{2 e \cot (c+d x) \csc (c+d x) \sqrt{e \csc (c+d x)}}{5 a d}-\frac{4 e \sqrt{\sin (c+d x)} E\left (\left .\frac{1}{2} \left (c+d x-\frac{\pi }{2}\right )\right |2\right ) \sqrt{e \csc (c+d x)}}{5 a d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.229357, antiderivative size = 145, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 8, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.32, Rules used = {3878, 3872, 2839, 2564, 30, 2567, 2636, 2639} \[ -\frac{2 e \csc ^2(c+d x) \sqrt{e \csc (c+d x)}}{5 a d}-\frac{4 e \cos (c+d x) \sqrt{e \csc (c+d x)}}{5 a d}+\frac{2 e \cot (c+d x) \csc (c+d x) \sqrt{e \csc (c+d x)}}{5 a d}-\frac{4 e \sqrt{\sin (c+d x)} E\left (\left .\frac{1}{2} \left (c+d x-\frac{\pi }{2}\right )\right |2\right ) \sqrt{e \csc (c+d x)}}{5 a d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3878
Rule 3872
Rule 2839
Rule 2564
Rule 30
Rule 2567
Rule 2636
Rule 2639
Rubi steps
\begin{align*} \int \frac{(e \csc (c+d x))^{3/2}}{a+a \sec (c+d x)} \, dx &=\left (e \sqrt{e \csc (c+d x)} \sqrt{\sin (c+d x)}\right ) \int \frac{1}{(a+a \sec (c+d x)) \sin ^{\frac{3}{2}}(c+d x)} \, dx\\ &=-\left (\left (e \sqrt{e \csc (c+d x)} \sqrt{\sin (c+d x)}\right ) \int \frac{\cos (c+d x)}{(-a-a \cos (c+d x)) \sin ^{\frac{3}{2}}(c+d x)} \, dx\right )\\ &=\frac{\left (e \sqrt{e \csc (c+d x)} \sqrt{\sin (c+d x)}\right ) \int \frac{\cos (c+d x)}{\sin ^{\frac{7}{2}}(c+d x)} \, dx}{a}-\frac{\left (e \sqrt{e \csc (c+d x)} \sqrt{\sin (c+d x)}\right ) \int \frac{\cos ^2(c+d x)}{\sin ^{\frac{7}{2}}(c+d x)} \, dx}{a}\\ &=\frac{2 e \cot (c+d x) \csc (c+d x) \sqrt{e \csc (c+d x)}}{5 a d}+\frac{\left (2 e \sqrt{e \csc (c+d x)} \sqrt{\sin (c+d x)}\right ) \int \frac{1}{\sin ^{\frac{3}{2}}(c+d x)} \, dx}{5 a}+\frac{\left (e \sqrt{e \csc (c+d x)} \sqrt{\sin (c+d x)}\right ) \operatorname{Subst}\left (\int \frac{1}{x^{7/2}} \, dx,x,\sin (c+d x)\right )}{a d}\\ &=-\frac{4 e \cos (c+d x) \sqrt{e \csc (c+d x)}}{5 a d}+\frac{2 e \cot (c+d x) \csc (c+d x) \sqrt{e \csc (c+d x)}}{5 a d}-\frac{2 e \csc ^2(c+d x) \sqrt{e \csc (c+d x)}}{5 a d}-\frac{\left (2 e \sqrt{e \csc (c+d x)} \sqrt{\sin (c+d x)}\right ) \int \sqrt{\sin (c+d x)} \, dx}{5 a}\\ &=-\frac{4 e \cos (c+d x) \sqrt{e \csc (c+d x)}}{5 a d}+\frac{2 e \cot (c+d x) \csc (c+d x) \sqrt{e \csc (c+d x)}}{5 a d}-\frac{2 e \csc ^2(c+d x) \sqrt{e \csc (c+d x)}}{5 a d}-\frac{4 e \sqrt{e \csc (c+d x)} E\left (\left .\frac{1}{2} \left (c-\frac{\pi }{2}+d x\right )\right |2\right ) \sqrt{\sin (c+d x)}}{5 a d}\\ \end{align*}
Mathematica [C] time = 1.33974, size = 230, normalized size = 1.59 \[ \frac{\cos ^2\left (\frac{1}{2} (c+d x)\right ) (e \csc (c+d x))^{3/2} \left (-\frac{6 \tan (c+d x) \left (\sec ^2\left (\frac{1}{2} (c+d x)\right )+4 \sec (c) \cos (d x)\right )}{d}+\frac{8 \sqrt{2} e^{i (c-d x)} \sqrt{\frac{i e^{i (c+d x)}}{-1+e^{2 i (c+d x)}}} \sec (c+d x) \left (\left (1+e^{2 i c}\right ) e^{2 i d x} \sqrt{1-e^{2 i (c+d x)}} \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{3}{4},\frac{7}{4},e^{2 i (c+d x)}\right )-3 e^{2 i (c+d x)}+3\right )}{\left (1+e^{2 i c}\right ) d \csc ^{\frac{3}{2}}(c+d x)}\right )}{15 a (\sec (c+d x)+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.21, size = 781, normalized size = 5.4 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{e \csc \left (d x + c\right )} e \csc \left (d x + c\right )}{a \sec \left (d x + c\right ) + a}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (e \csc \left (d x + c\right )\right )^{\frac{3}{2}}}{a \sec \left (d x + c\right ) + a}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]